package cn.cxq.learning.e3_2;

import java.util.Scanner;

public class Client {


    public static void main(String[] args) {
        int n;
        double value;
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();

        for (int i = 0; i < n; i++) {
            value = scanner.nextDouble();
            System.out.println(String.format("%.14f", EXPUtil.exp(value)));
        }
    }
}
